package ru.kop4en.diplom.figure;

import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JPanel;
import java.awt.event.ActionListener;

public class RightFigurePanel extends JPanel
{
	private static final long serialVersionUID = 1L;
	
	public RightFigurePanel()
	{
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		
		add(next_button);


	}
	
	public void addNextHandler(ActionListener mainWindow)
	{
		next_button.addActionListener(mainWindow);		
	}
	
	// members ===============================	
	JButton next_button = new JButton("Camera");
}
